open-with-dialog: use misc_set_alignment instead of widget_set_halign
authorCosimo Cecchi <cosimoc@gnome.org>
Fri, 19 Nov 2010 18:55:24 +0000 (19:55 +0100)
committerCosimo Cecchi <cosimoc@gnome.org>
Tue, 23 Nov 2010 15:51:41 +0000 (16:51 +0100)
gtk/gtkopenwithdialog.c

index 287a97a49da2a86069171d4767931a3b17f54d53..596b06a107f8cc645abf399eeb44dc08f4d3a468 100644 (file)
@@ -335,7 +335,7 @@ build_dialog_ui (GtkOpenWithDialog *self)
   gtk_widget_show (vbox2);
 
   self->priv->label = gtk_label_new ("");
-  gtk_widget_set_halign (self->priv->label, GTK_ALIGN_START);
+  gtk_misc_set_alignment (GTK_MISC (self->priv->label), 0, 0.5);
   gtk_label_set_line_wrap (GTK_LABEL (self->priv->label), TRUE);
   gtk_box_pack_start (GTK_BOX (vbox2), self->priv->label,
                      FALSE, FALSE, 0);